package com.nuc.thread.create;

import lombok.extern.slf4j.Slf4j;

/**
 * @author LM
 * @date 2021/5/4 18:18
 * @destription:
 */
@Slf4j
public class CreateThread1 {
    public static void main(String[] args) {
        Thread thread = new Thread("t1"){
            @Override
            public void run() {
                log.debug("running");
            }
        };
        thread.start();
        log.debug("running");
    }
}
